home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / System7 tools / Frontier / Frontier SDK 2.1 / Toolkits / Applet Toolkit / appletmenuops.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-11  |  865 b   |  40 lines  |  [TEXT/KAHL]

  1. #define menuinclude
  2.  
  3.  
  4. typedef boolean (*tymenuvisitcallback) (MenuHandle, short);
  5.  
  6.  
  7. boolean setmenuitem (MenuHandle, short, bigstring);
  8.  
  9. boolean getmenuitem (MenuHandle, short, bigstring);
  10.  
  11. void deletemenuitem (MenuHandle, short);
  12.  
  13. void stylemenuitem (MenuHandle, short, short);
  14.  
  15. void disablemenuitem (MenuHandle, short);
  16.  
  17. void enablemenuitem (MenuHandle, short);
  18.  
  19. void setmenuitemenable (MenuHandle, short, boolean);
  20.  
  21. void installmenu (short, MenuHandle *);
  22.  
  23. void installhierarchicmenu (short, MenuHandle *);
  24.  
  25. short countmenuitems (MenuHandle);
  26.  
  27. void uncheckallmenuitems (MenuHandle);
  28.  
  29. void disableallmenuitems (MenuHandle);
  30.  
  31. void enableallmenuitems (MenuHandle);
  32.  
  33. void checkmenuitem (MenuHandle, short, boolean);
  34.  
  35. boolean visitonemenu (short, tymenuvisitcallback);
  36.  
  37. boolean pushmenuitem (MenuHandle, bigstring, boolean);
  38.  
  39. void disableemptymenuitems (MenuHandle);
  40.